package com.trhui.mallbook.enums;

/**
 * @author linqy
 * 业务编码
 */

public enum ServerCodeEnum {


    PAYMENT_ORDER("paymentOrder", "支付"),

    REFUND("refund", "退款"),

    RECEIVE("receive", "确认收货"),

    WITHDRAW("withdraw", "结算"),

    QUERY_TRANSFER("queryTransfer", "XIB-转账结果查询"),

    QUERY_ORDER("queryOrder", "交易查询"),

    REGISTER("register", "注册"),

    DOWNLOAD_CHECK("downloadCheck", "对账单下载接口"),

    BIND_ACCOUNT("bindAccount", "子商户绑卡"),

    CHANGE_ACCOUNT("changeAccount", "子商户更换结算账户接口"),

    VERIFY_MESSAGE("verifyMessage", "XIB-开户绑卡提交验证"),

    FILE_UPLOAD("fileUpload", "文件上传"),

    UNBIND_ACCOUNT("unbindAccount", "子商户解绑结算账户"),

    REPEAT_SEND("repeatSend", "重复获取（短验/邮件/电子签章）-YB"),

    QUERY_USER("queryUser", "子商户查询"),

    DEPOSIT("deposit", "充值接口"),

    COMPLETE("complete", "异步分账接口"),

    TRANSFER("transfer", "转账接口"),

    WX_CONFIG("wxConfig", "公众号配置-YB"),

    QUERY_WX_CONFIG("queryWxConfig", "公众号配置查询-YB"),

    APPLY_MESSAGE("applyMessage", "短信验证码申请-XIB"),

    QUERY_BALANCE("queryBalance", "账户资金查询"),

    REGISTER_FRONT("registerFront", "前台注册接口"),

    DIV_BACK("divBack", "分账归还"),

    QUERY_BIND_CARD("queryBindCard", "绑卡查询"),

    CANCEL_ORDER("cancelOrder", "取消订单"),

    PAY_ORDER_CLOSE("payOrderClose", "支付关单接口（HF）"),

    SPLIT_ORDER_FRONT("splitOrderFront", "XIB前台支付接口"),

    REFRESH_CASHIER_DESK("refreshCashierDesk", "XIB刷新收银台接口"),

    FAST_BIND_APPLY("fastBindApply", "快捷绑卡申请接口（HF）"),

    FAST_BIND_CONFIRM("fastBindConfirm", "快捷绑卡确认接口（HF）"),

    FAST_UNBIND("fastUnbind", "解绑快捷卡接口（HF）"),

    FAST_PAY_SEND_SMS("fastpaySendSms", "快捷支付短信重发接口"),

    FASTPAY_CONFIRM("fastpayConfirm", "快捷支付确认接口（HF）"),

    QUERY_FAST_CARD("queryFastCard", "查询快捷卡接口（HF）"),

    REAL_TIME_WITHDRAW_QUERY("queryRealTimeWithdraw", "实时结算额度查询接口（HF)"),

    OPEN_INLET("openInlet", "汇付收款子商户进件（HF）"),

    UPLOAD_FILE_SUB_MER("uploadFileSubMer", "收款子商户提交证照接口（HF）"),

    SUB_MER_SUBMIT("subMerSubmit", "收款子商户文件上传接口（HF）"),

    QUERY_RCV_CERT("queryRcvCert", "收款子商户审核状态查询（HF）"),

    MERCHANT_ENTER("merchantEnter", "商户入驻接口"),

    QUERY_MERCHANT_ENTRY("queryMerchantEntry", "商户入驻查询接口"),

    CREATE_APPLICATION("createApplication", "创建应用接口"),

    UPDATE_SETTLEMENT_ACCOUNT("rcvMerchantSettlementAccountUpdate", "收款商户修改结算账户信息接口(HF)"),

    CHANGE_INFO("changeInfo", "商户信息修改（DG）"),

    DG_WX_CONFIG("dgWxConfig", "收款子商户微信配置（DG）"),

    DG_WX_CONFIG_QUERY("dgWxConfigQuery", "收款子商户微信配置查询（DG）"),

    DG_USER_REGISTER("dgUserRegister", "斗拱用户注册"),

    DG_USER_ENTER("dgUserEnter", "斗拱用户入驻"),

    DG_USER_ENTER_UPDATE("dgUserEnterUpdate", "斗拱用户入驻修改"),

    QUERY_ORDER_SUMMARY("queryOrderSummary", "支付订单汇总查询"),

    RCV_MERCHANT_BIZ_OPEN("rcvMerchantBizOpen", "收款子商户业务开通"),

    SET_SPLIT_RELATIONSHIP("setSplitRelationship", "XIB设置分账关系信息"),

    QUERY_MERCHANT_STATUS("queryMerchantStatus", "商户渠道状态查询"),

    MERCHANT_UNFREEZE_APPLY("merchantUnfreezeApply", "沉默商户解冻申请"),

    RECEIPT_DOWNLOAD("receiptDownload", "回单下载"),

    CREATE_WX_PAY_SCORE_ORDER("createWxPayScoreOrder", "创建微信支付分订单接口"),

    QUERY_WX_PAY_SCORE_ORDER("queryWxPayScoreOrder", "查询微信支付分订单"),

    FINISH_ORDER("wxPayScoreFinishOrder", "微信支付分完结订单"),

    REVOKED_WX_PAY_SCORE_ORDER("revokedWxPayScoreOrder", "取消微信支付分订单"),
    ;
    private String code;
    private String desc;

    ServerCodeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
